package com.six.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.six.domain.entity.BizOrderItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface BizOrderItemMapper extends BaseMapper<BizOrderItem> {

    @Select("SELECT * FROM order_items WHERE order_id = #{orderId}")
    List<BizOrderItem> selectByOrderId(Long orderId);
}